<template>
  <div>
    <div style="width: 700px;height:400px;">
      <fviz-media-video :obj-val="videoData2"></fviz-media-video>
    </div>
    <div style="width: 700px;height:400px;">
      <fviz-media-video :obj-val="videoData3"></fviz-media-video>
    </div>
    <div style="width: 700px;height:400px;">
      <fviz-media-video :obj-val="videoData"></fviz-media-video>
    </div>
    <div style="width: 700px;height:400px;">
      <fviz-media-video :obj-val="videoData1"></fviz-media-video>
    </div>

    <fviz-pgsbar :obj-val="objData3"></fviz-pgsbar>
  </div>
</template>
<script>
export default {
  created() {},
  data() {
    return {};
  },
  computed: {
    videoData: function() {
      return {
        videoType: { name: "自动识别", value: "1" },
        dataUrl:
          "https://yunqivedio.alicdn.com/2017yq/v2/0x0/96d79d3f5400514a6883869399708e11/96d79d3f5400514a6883869399708e11.m3u8",
        preview: true
      };
    },
    videoData1: function() {
      return {
        videoType: { name: "自动识别", value: "1" },
        dataUrl:
          "http://www.ieforever.com/Site/cn/Uploads/media/20161118/%E6%81%92%E5%8D%8E%E7%A7%91%E6%8A%80-%E8%A7%86%E9%A2%91.mp4",
        preview: true
      };
    },
    videoData2: function() {
      return {
        videoType: { name: "自动识别", value: "1" },
        //dataUrl: "rtmp://media3.sinovision.net:1935/live/livestream",
        dataUrl: "rtmp://58.200.131.2:1935/livetv/hunantv",
        preview: true
      };
    },
    videoData3: function() {
      return {
        videoType: { name: "自动识别", value: "5" },
        dataUrl: "rtmp://media3.sinovision.net:1935/live/livestream",
        //dataUrl: "rtmp://58.200.131.2:1935/livetv/hunantv",
        preview: true
      };
    },
    objData3: function() {
      return {
        percentage: 50,
        prsFontWeight: { name: "粗体", value: "bold" },
        prsFontColor: "blue",
        pgsColor: "blue",
        vizType: "dashboard",
        labelName: "这是一个伟大的使命",
        labelFontColor: "blue",
        lableBottom: "-5",
        fwidth: 200,
        fheight: 210,
        strokeWidth: 15
      };
    }
  }
};
</script>